package com.buba.system.service.impl;

import com.buba.system.pojo.SystemMenu;
import com.buba.system.service.MenuService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("MenuServiceImpl")
public class MenuServiceImpl implements MenuService {
    @DubboReference
    private MenuService menuService;

    @Override
    public List<SystemMenu> selMenu() {
        return menuService.selMenu();
    }

    @Override
    public List<SystemMenu> selMenuById(String menu_id) {
        return menuService.selMenuById(menu_id);
    }
}
